name="123456 abcd 123456"
print(name)
#下标
print(name[0])
print(name[2])
print(name[-1])
#len
print(len(name))
#index
print(name.index('1'))
print(name.index("1"))
#replace
newname=name.replace("1","zzz")
print(newname)
#split
split = name.split(" ")
print(type(split))
print(split)
#strip
name=" 132 123456 "
print(name.strip())
print("143234abc321".strip("312"))
#count
print(name)
print(name.count("2"))
#len
print(len(name))

for x in name:
    print(x," ",end="")
print()



